@keyframes top-in {
  0% {
    transform: translate(0, -100%);
  }

  100% {
    transform: translate(0, 0%);
  }
}

@keyframes bottom-out {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, 100%);
  }
}

.anim-topin-enter-active {
  animation: top-in 0.35s ;
}

.anim-topin-leave-to {
  animation: bottom-out 0.35s ;
}
@keyframes bottom-in {
  0% {
    transform: translate(0, 100%);
  }

  100% {
    transform: translate(0, 0%);
  }
}

@keyframes top-out {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, -100%);
  }
}
.anim-bottom-in-enter-active {
  animation: bottom-in 0.35s ;
}

.anim-bottom-in-leave-to {
  animation: top-out 0.35s ;
}

/*  */
@keyframes opacity0 {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.1;
  }
}

@keyframes opacity1 {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

.ajax-loading {
  animation: rotate360 1s linear infinite;
}

.anim-opacity-enter-active {
  animation: opacity1 0.3s forwards;
}

.anim-opacity-leave-to {
  animation: opacity0 0.3s forwards;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  to {
    transform: rotate(360deg);
  }
}
